using System;
using System.Collections.Generic;
using System.Text;

namespace Kontakter
{
    public class WindowState
    {
        private int loc_x;
        private int loc_y;

        private int size_x;
        private int size_y;

        public WindowState()
        {
            // for correct serialization
        }

        public WindowState(int x, int y, int w, int h)
        {
            loc_x = x;
            loc_y = y;
            size_x = w;
            size_y = h;
        }

        public int LocX
        {
            get
            {
                return loc_x;
            }

            set
            {
                loc_x = value;
            }
        }

        public int LocY
        {
            get
            {
                return loc_y;
            }

            set
            {
                loc_y = value;
            }
        }

        public int SizeX
        {
            get
            {
                return size_x;
            }

            set
            {
                size_x = value;
            }
        }

        public int SizeY
        {
            get
            {
                return size_y;
            }

            set
            {
                size_y = value;
            }
        }
    }
}
